﻿using System;
using System.Windows.Forms;
using Autodesk.Revit.DB.Mechanical;

namespace YArchitech.HYSpace.SpaceManager.Manager
{
	public class ZoneNode : TreeNode
	{
		public ZoneNode(Zone zone) : base(zone.Name)
		{
			this.m_zone = zone;
			base.Text = this.m_zone.Name;
			base.ToolTipText = "Phase: " + this.m_zone.Phase.Name;
		}

		public Zone Zone
		{
			get
			{
				return this.m_zone;
			}
		}

		private Zone m_zone;
	}
}
